'''
Created on Apr 7, 2012

@author: e911miri
'''
from __init__ import runQuery
def create():
    pass

def delete():
    pass

def index(lower, next):
    query= "select * from candidates join scores where idscores = idcandidates limit %s, %s"
    results = runQuery(query, (lower, next))
    return results